package com.qf.ability.sentinel.server.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * description: Nacos数据源的配置类
 * author: Ken
 * 公众号：Java架构栈
 */
@Data
@ConfigurationProperties(prefix = "spring.cloud.sentinel.nacos")
public class NacosDatasourceConfig {

    private String serverAddr;
    private String namespaces = "sentinel";
    private String groupId = "DEFAULT_GROUP";
    private String flowdataId; //流控规则的配置文件的dataID
    private String degradedataId; //降级规则的配置文件的dataID
    private String namespacedataId; //集群流控命名空间列表的dataId
}
